<% cache(:controller=>"/includes", :action=>"menu") do %>
	<ul class="menu">
			<% Category.root.menu.each do |c| %>
				<li onmouseover="show_menu(this);" id="menu_<%= c.id %>"><%= link_to_unless_current c.title, path(c) %></li>
			<% end %>
	</ul>
<% end %>

<% content_for :footer do %>
	<%= render :partial=>"includes/sub_menu", :collection=>Category.root.menu.select{|m| m.children_count > 0 } %>
<% end %>

